<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>排行榜 - 牛津自然拼读学习应用</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>牛津自然拼读学习应用</h1>
        </header>
        
        <main>
            <div class="leaderboard-section">
                <h2>排行榜</h2>
                
                <div class="leaderboard-container">
                    <div class="podium">
                        <!-- 排行榜前三名将通过JavaScript动态填充 -->
                    </div>
                    
                    <div class="leaderboard-list">
                        <table id="leaderboard-table">
                            <thead>
                                <tr>
                                    <th>排名</th>
                                    <th>用户</th>
                                    <th>正确率</th>
                                    <th>答题数</th>
                                    <th>正确数</th>
                                </tr>
                            </thead>
                            <tbody>
                                <!-- 排行榜将通过JavaScript动态填充 -->
                            </tbody>
                        </table>
                    </div>
                </div>
                
                <div class="leaderboard-actions">
                    <button class="btn-secondary" onclick="window.location.href='/'">返回首页</button>
                </div>
            </div>
        </main>
        
        <footer>
            <p>&copy; 2025 牛津自然拼读学习应用</p>
        </footer>
    </div>
    
    <script src="/static/js/leaderboard.js"></script>
</body>
</html>